<!DOCTYPE html>
<html lang="en">
<head>
<{include file="public_html/header_tag.html"}>
	<title>题库</title>

</head>
<body>
<div class="wrap">
	<!--star header-->
	<div class="header">
	<{include file="public_html/header_menu.html"}>
	</div>
	<!--end  header-->

	<div class="return_nav b-FFFFFF">
		<div class="w1200">
		您的位置：<a href="/topic">题库</a><span>&gt;</span><em><a href="/user/tiku/practice_index/<{$subject_info.id}>"><{$subject_info.title}></a></em><span>&gt;</span><em><{$chapter_action}></em>
		</div>
	</div>
	<!--star main-->
	<div class="wrap_main fix">
		<!--content star-->
		<div class="col_main">
			<!--star在线题库-->
			<div class="box_item m-t30" style="overflow:visible;">
				<!--star-->
				<div class="mt LH40 p-t30">
					<span class="fs30 c-1aa3fa"><{$chapter_action}></span>
				</div>
				<div class="mc p-t30 fs14 tac t_form">
				<{if isset($volume_list) AND $volume_list.count > 0}>
				<table width="100%">
					<colgroup>
						<col width="10%">
						<col width="45%">
						<col width="10%">
						<col width="10%">
						<col width="25%">
					</colgroup>
					<tr class="c-666666">
						<th>序号</th>
						<th>试卷名称</th>
						<th>状态</th>
						<th>成绩</th>
						<th>操作</th>
					</tr>
					<{foreach from=$volume_list.result item=item key=key}>
					<tr>
						<td><{$item.id}></td>
						<td class="tal"><{$item.name}></td>
						<td class="tal">
							<{if isset($item.tk_test_volume_history.status) AND $item.tk_test_volume_history.status == 0}>
								未交卷
							<{else if isset($item.tk_test_volume_history.status) AND $item.tk_test_volume_history.status == 1}>
								已交卷
							<{else}>
								未开始
							<{/if}>
						</td>
						<td>
							<span class="c-FF0000">
								<{if !isset($item.tk_test_volume_history.status)}>
								 --
								<{else}>
									<{$item.tk_test_volume_history.fraction}>
								<{/if}>
							</span>
						</td>
						<td>
							<span>
								
								
								<{if isset($item.tk_test_volume_history.status) AND $item.tk_test_volume_history.status == 0}>
									<a class="btn u1 btn-br-00aa87" href="/user/tiku/start_volume_test/<{$item.id}>/<{$type}>" target="_blank">继续考试</a>
								<{else if isset($item.tk_test_volume_history.status) AND $item.tk_test_volume_history.status == 1}>
									<a class="btn u1 btn-br-00aa87" href="/user/tiku/start_volume_test/<{$item.id}>/<{$type}>/1" target="_blank">重考</a>
								<{else}>
									<a class="btn u1 btn-br-00aa87" href="/user/tiku/start_volume_test/<{$item.id}>/<{$type}>" target="_blank">开始考试</a>
								<{/if}>
								<span class="p-lr10">&nbsp;</span>
								<{if !empty($item.tk_test_volume_history.percentage)}><a class="btn u1 btn-br-1aa3fa report" href="javascript:;" report='<{$item.tk_test_volume_history.report}>'>查看报告</a><{/if}>
							</span>
						</td>
					</tr>
					<{/foreach}>
				</table>
				<{/if}>
				</div>
				<!--star分页-->
				<div class="pages m-tb40">
					<{$pagination}>
				</div>
				<!--end分页-->
			</div>
			<!--end在线题库-->

		</div>
		<!--content end-->
	</div>
	<!--end  main-->
	<!--star  footer-->
	<div class="footer">
	  <{include file="public_html/footer.html"}>
	</div>
	<!--end  footer-->
</div>
<script>
	$(function(){
		$(".report").click(function(){
			var report = $(this).attr("report");
		})
	})
</script>
</body>
</html>
